printf("%d",(printf("Hello")); What it returns?
Answers were Sorted based on User's Feedback
Answer / praneeth
It doesn't because in printf access specifier is Integer
but to display Hello we should use %s.
| Is This Answer Correct ? | 1 Yes | 22 No |
what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }
What is the use of c language in real life?
Write a program to reverse a linked list in c.
write a programe returns the number of times the character appears in the string
What is %lu in c?
Is c language still used?
Write a simple program to find the size of different basic data types in C.
Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
What are the advantages of c language?
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }