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
Is c pass by value or reference?
What is const volatile variable in c?
simple program of graphics and their output display
How do you search data in a data file using random access method?
What is the advantage of an array over individual variables?
What are the different file extensions involved when programming in C?
What is the use of #include in c?
Can two or more operators such as and be combined in a single line of program code?
Why is c platform dependent?
What is putchar() function?
What is the difference between struct and union in C?
Hai what is the different types of versions and their differences
Where static variables are stored in memory in c?
What is string in c language?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?