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 5207

"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 34846

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 10999

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 3658

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

TANCET,

2 6253

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

1 3599

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

2057

how can i print "hello"

3 5466

difference between c and c++

3 5787

what is purpose of fflush(stdin) function

4 32237

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

Wipro,

4 12203

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

1 5428

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 3735

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

9 10088

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

5 9255


Post New C Questions

Un-Answered Questions { C }

How does struct work in c?

1036


What are the rules for the identifier?

1120


How do you define CONSTANT in C?

1218


Is it possible to execute code even after the program exits the main() function?

1292


Explain how can I open a file so that other programs can update it at the same time?

1069


cavium networks written test pattern ..

4037


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

2170


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

2307


What are global variables?

1129


What is a file descriptor in c?

1066


How can a program be made to print the name of a source file where an error occurs?

1184


What is function in c with example?

1097


What is a nested formula?

1073


Is void a keyword in c?

936


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

1204