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

what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 5327

"I LOVE MY COUNTRY" write a c program to get "COUNTRY MY LOVE I" as the output. Use any other programming language. It is not mandatory to use C.

ABC Infotech, ADP, College School Exams Tests, Kovair,

11 35301

write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20

4 11155

what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }

1 3725

int x=5; printf("%d%d%d",x,x<<2,x>>2);

TANCET,

2 6362

how do we remove the printed character in printf statement and write next it it

1 3664

hi, which software companys will take,if d candidate's % is jst 55%?

2093

how can i print "hello"

3 5598

difference between c and c++

3 5927

what is purpose of fflush(stdin) function

4 32424

how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"

Wipro,

4 12357

how to compare two strings without using strcmp() function??

1 5501

how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .

1 3821

what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }

9 10383

# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }

5 9453


Post New C Questions

Un-Answered Questions { C }

what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1279


How is actual parameter different from the formal parameter?

1026


What is string function in c?

987


What is the purpose of sprintf() function?

1133


What is the use of the function in c?

1019


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1135


Give basis knowledge of web designing ...

2020


What is static function in c?

1118


What are pointers?

1113


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

2502


What are the uses of a pointer?

1153


What is function prototype?

1145


What is a macro?

1114


Can include files be nested? How many levels deep can include files be nested?

1172


How to write a code for reverse of string without using string functions?

2147