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
What are pointers? What are stacks and queues?
What are inbuilt functions in c?
where are auto variables stored? What are the characteristics of an auto variable?
Explain how many levels deep can include files be nested?
What are the features of c languages?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Explain how can I right-justify a string?
What is an array in c?
What is the difference between a function and a method in c?
How can you convert integers to binary or hexadecimal?
How can I insert or delete a line (or record) in the middle of a file?
What are the two forms of #include directive?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
When can you use a pointer with a function?
What is modifier & how many types of modifiers available in c?