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 |
What is #include stdio h?
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
How can I invoke another program from within a C program?
how to use showbits function?
Did c have any year 2000 problems?
how to generate sparse matrix in c
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?
write a program in c language to print your bio-data on the screen by using functions.
#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }
What are the benefits of organizational structure?
What is the total generic pointer type?
how to implement stack operation using singly linked list