What is pass by value in c?
No Answer is Posted For this Question
Be the First to Post Answer
What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.
What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these
Output for following program using for loop only * * * * * * * * * * * * * * *
void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?
Write a routine that prints out a 2-D array in spiral order!
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
When is an interface "good"?
Can you mix old-style and new-style function syntax?
What is size of union in c?
find the size of structure without using the size of function
Which is more efficient, a switch statement or an if else chain?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.