printf("%d",(printf("Hello")); What it returns?
Answer Posted / atul shukla
printf("%d",(printf("Hello"));
result is for sure hello5
anywhere if braces () are used it uses stack to perform its
operation last open braces will sort first and
print 'hello'and printf return int value its protype is
int printf(const char *format [,argument,...]);
value return will be length of string thats 5
u can change hello to any other string it will print lenght
of string only
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what is the general form of a c program?
Explain what are preprocessor directives?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Explain what is the purpose of "extern" keyword in a function declaration?
Why do we use stdio h and conio h?
Is c easier than java?
how to build a exercise findig min number of e heap with list imlemented?
Define the scope of static variables.
Can stdout be forced to print somewhere other than the screen?
What are lookup tables in c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is the significance of an algorithm to C programming?
Write a program to swap two numbers without using the third variable?
how many key words availabel in c a) 28 b) 31 c) 32