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
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What's the best way of making my program efficient?
What are inbuilt functions in c?
regarding pointers concept
How can I dynamically allocate arrays?
What is the difference between array and pointer in c?
What is action and transformation in spark?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
What 'lex' does?
Is c is a procedural language?
Write a program to find factorial of a number using recursive function.
What does c mean before a date?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What does emoji p mean?
What are different storage class specifiers in c?