Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?

Wipro,

1 5442

Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

Cap Gemini, HCL,

2 7588

why do we use # in c-language?

1 4253

what is the difference between class and unio?

HCL, Wipro,

2413

int main() { int i=-1,j=-1;k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d%d%d%d%d",i,j,k,l,m); }

HCL,

3 8840

To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

HCL,

2686

for(;;) printf("C language") What is out put of above??

Practical Viva Questions,

2 4339

Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both

3 4955

#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

Facebook,

2 6391

output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }

Elysium,

2 4405

Write a c program for sum of first n terms of the series S = 1 - (1/3) + (1/5) -(1/7) + (1/9) ......

2 5940

Sir i need notes for structure,functions,pointers in c language can you help me please

TCS,

2459

How we can set and clear bit in a byte using macro function?

L&T, Samsung,

2 20725

How we can write a value to an address using macro..?

Tata Elxsi,

3517

#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }

1 9169


Post New C Questions

Un-Answered Questions { C }

What is nested structure with example?

1134


Disadvantages of C language.

1156


How do I get a null pointer in my programs?

1164


difference between native and cross compilers

2171


How to write a multi-statement macro?

1099


What is the default value of local and global variables in c?

1099


What is the equivalent code of the following statement in WHILE LOOP format?

1338


How many keywords (reserve words) are in c?

1184


What are types of structure?

1169


What is extern storage class in c?

1055


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

1199


What is methods in c?

1142


What is the difference between variable declaration and variable definition in c?

1103


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1155


How many loops are there in c?

1163