C interview Questions for 2011, 2012 TCS, Infosys, IBM, Hexaware

C interview Questions: TCS, Infosis, IBM, Accenture, Hexaware...

 
•Why we use '# ' sign in C language?

It tells the pre-processor to do something. It can be used to:

include a file: #include <stdio.h>You can also use ifs to determine which parts of your code to compile. These ifs need to be based on MACRO values, not variables:

#if <expression>#define <macro>

#else

#define <macro>

#endif

Others:

#ifdef

#ifndef

#undef

#error

#pragma

Basic data types in C:

       char a character

       int a integer, in the range -32,767 to 32,767

long int a larger integer (up to +-2,147,483,647)

float a floating-point number

double a floating-point number, with more precision and perhaps greater range than float

What is Turbo C

Turbo C is an Integrated Development Environment and compiler for the C programming language from Borland. First introduced in 1987, it was noted for its integrated development environment, small size, fast compile speed, comprehensive manuals and low price.

Popular posts from this blog

Direct Company Jobs- HR Contact of Companies in C.G-M.P & Nagpur Power Plants & IT Companies

UP Govt Teacher Vacancy 2020- UPSESSB Recruitment 2020 – Apply Online for 15508 TGT & PGT Vacancy

.Net Jobs Chennai Bangalore Cochin By Stallion Systems And Solutions- Aug 2014