Can you mix old-style and new-style function syntax?


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

Post New Answer

More C Interview Questions

Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

0 Answers  


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 []);

0 Answers   TCS,


What is difference between arrays and pointers?

0 Answers  


Explain how do you convert strings to numbers in c?

0 Answers  


What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

5 Answers   Amazon, Qualcomm,






#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}

3 Answers  


main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }

2 Answers   CSC,


What is nested structure in c?

0 Answers  


how can we Declare a variable in c without defining it.

1 Answers   TCS,


Do pointers store the address of value or the actual value of a variable?

0 Answers   Fidelity,


What is %d used for?

0 Answers  


What is header file definition?

0 Answers  


Categories