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
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What is d'n in c?
What does the function toupper() do?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What is the collection of communication lines and routers called?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is property type c?
What are the types of variables in c?
What is a example of a variable?
What is data structure in c language?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What are the main characteristics of c language describe the structure of ac program?
Explain what does a function declared as pascal do differently?
What are register variables in c?
What are the disadvantages of external storage class?