main()
{
char p[] = "hello world!";
p = "vector";
printf("%s",p);
}
Answer Posted / amir khan
Vector because char a[] gives error due to empty parenthesis
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
write a program to create a sparse matrix using dynamic memory allocation.
State the difference between x3 and x[3].
Explain what is the difference between null and nul?
Write a program to print "hello world" without using a semicolon?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
Why main is not a keyword in c?
What does the function toupper() do?
What is the difference between void main and main in c?
Explain main function in c?
Do you know the difference between exit() and _exit() function in c?
Write a program which returns the first non repetitive character in the string?
In c programming language, how many parameters can be passed to a function ?
Is using exit() the same as using return?
What's the best way of making my program efficient?
Can stdout be forced to print somewhere other than the screen?