main()
{
printf(5+"Vidyarthi Computers");
}
Answers were Sorted based on User's Feedback
Answer / sujith
I would rather say
rthi Computers
Reason is printf() takes a pointer to char to print the
string. we said 5+"Vidyarthi Computers" so this is
interpreted as "rthi Computers" becuase we have added 5 to
the base pointer. so it will print only "rthi Computers".
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / vignesh1988i
rthi computers
since this will be taken as a string and 5 is the subscript value and prints the remaining characters from 'r'.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shruti
arthi computers..
i think 5 characters is 0 - 5 and not 1- 5...
| Is This Answer Correct ? | 2 Yes | 2 No |
Explain how to reverse singly link list.
What is the use of getchar functions?
Identify the operators that is not used with pointer a. && b. # c. * d. >>
How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?
What compilation do?
7 Answers Geometric Software, Infosys,
Explain the difference between null pointer and void pointer.
who will call your main function in c under linux?
What is strcpy() function?
What is an object?
Why c language?
int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);
difference between i++* and *++i