Are the outer parentheses in return statements really optional?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Explain Basic concepts of C language?

0 Answers   EXL,


compare array with pointer?

1 Answers  


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 Answers  


How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets

2 Answers   Hexaware,


What is bss in c?

0 Answers  






5. What kind of sorting is this: SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort

2 Answers   Accenture,


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

8 Answers   IBM,


What is the correct code to have following output in c using nested for loop?

0 Answers  


What are the application of c?

0 Answers  


Give differences between - new and malloc() , delete and free() ?

0 Answers   Genpact,


Explain how are portions of a program disabled in demo versions?

0 Answers  


What's wrong with "char *p = malloc(10);" ?

4 Answers  


Categories