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 5383

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 7495

why do we use # in c-language?

1 4183

what is the difference between class and unio?

HCL, Wipro,

2374

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 8729

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,

2644

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

Practical Viva Questions,

2 4265

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 4800

#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 6327

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 4320

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

2 5839

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

TCS,

2428

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

L&T, Samsung,

2 20629

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

Tata Elxsi,

3470

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

1 9097


Post New C Questions

Un-Answered Questions { C }

‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2888


What is mean by data types in c?

1038


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1226


Find MAXIMUM of three distinct integers using a single C statement

1073


How can I remove the trailing spaces from a string?

1086


Explain how do you list a file’s date and time?

1044


What is double pointer?

1008


Create a simple code fragment that will swap the values of two variables num1 and num2.

1296


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1066


Explain that why C is procedural?

1151


Is boolean a datatype in c?

1077


What is the 'named constructor idiom'?

1104


What are the advantages and disadvantages of a heap?

1218


Does c have circular shift operators?

1260


How many levels of indirection in pointers can you have in a single declaration?

1095