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 / vijay r15
ans is c
But 1printing mistake in s1 all characters should be in caps
Any dbt mail to raj.vijay55@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Define circular linked list.
Is register a keyword in c?
why programs in c are running with out #include
Which is the best website to learn c programming?
What is the difference between int main and void main in c?
What is a list in c?
What does void main () mean?
What are the application of c?
List some of the dynamic data structures in C?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is the purpose of macro in C language?
What does c mean in basketball?
How can you increase the size of a statically allocated array?
What is uint8 in c?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples