what wud be the output?
main()
{
char *str[]={
"MANISH"
"KUMAR"
"CHOUDHARY"
};
printf("\nstring1=%s",str[0]);
printf("\nstring2=%s",str[1]);
printf("\nstring3=%s",str[2]);
a)string1=Manish
string2=Kumar
string3=Choudhary
b)string1=Manish
string2=Manish
string3=Manish
c)string1=Manish Kumar Choudhary
string2=(null)
string3=(null)
d)Compiler error
Answer Posted / ravi
answer a
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
By using C language input a date into it and if it is right?
Where local variables are stored in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Under what circumstances does a name clash occur?
Explain what is the benefit of using enum to declare a constant?
What is array in c with example?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What is the difference between struct and typedef struct in c?
What is wrong with this initialization?
What is volatile variable in c with example?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
Why c is called object oriented language?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What is the size of structure in c?
What is logical error?