What is c language & why it is used?
No Answer is Posted For this Question
Be the First to Post Answer
What does a pointer variable always consist of?
Differentiate b/w Modify and Update commands giving example.
What are enums in c?
What are the properties of union in c?
What is keyword in c?
What is difference between %d and %i in c?
what is the difference between call by value and call by reference?
5 Answers Genpact, Global Logic, Infosys,
Tell me when would you use a pointer to a function?
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,
what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }
How do I copy files?
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }