which type of question asked from c / c++ in interview.
Answers were Sorted based on User's Feedback
Answer / abhradeep chatterjee
conceptual questions which proves that the basic idea of
the candidate is clear.
| Is This Answer Correct ? | 12 Yes | 2 No |
Explain what is the difference between null and nul?
How to calculate Total working time using Login and logout?
2 Answers CTS, Cygnus, Infosys, Signal Networks, TCS, Wipro,
Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error
How can you be sure that a program follows the ANSI C standard?
What does typeof return in c?
Can we change the value of #define in c?
while initialization of array why we use a[][2] why not a[2][]...?
When should a type cast be used?
write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?
What are lookup tables in c?
While(1) { } when this loop get terminate is it a infinite loop?
void main() { //char ch; unsigned char ch; clrscr(); for(ch =0;ch<= 127; ch++) printf(" %c= %d \t ", ch, ch); } output?