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 |
which types of data structure will i use to convert infix to post fix???
Are negative numbers true in c?
How to print %d in output
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Is c compiled or interpreted?
write a prgram of swapping with 2 valiables
How to write c functions that modify head pointer of a linked list?
How can I increase the allowable number of simultaneously open files?
What are the different types of C instructions?
List some basic data types in c?
Which command is more efficient? *(ptr+1) or ptr[1]
What is the deal on sprintf_s return value?