What is the maximum length of an identifier?
No Answer is Posted For this Question
Be the First to Post Answer
What is the explanation for prototype function in c?
main() { intx=2,y=6,z=6; x=y=z; printf(%d",x) }
5 Answers Amazon, HCL, Thought Works,
from which concept of 'c', the static member function of 'c++' has came?
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
When the macros gets expanded?
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
How to add two numbers with using function?
can we define a function in structure?
What are the difference between a free-standing and a hosted environment?
What are the similarities between c and c++?
How can you call a function, given its name as a string?
What does void main () mean?