main()
{
char p[] = "hello world!";
p = "vector";
printf("%s",p);
}
Answers were Sorted based on User's Feedback
Answer / amir khan
Vector because char a[] gives error due to empty parenthesis
| Is This Answer Correct ? | 4 Yes | 3 No |
The differences between Windows XP and Windows Visa
What is #define?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable
find the size of structure without using the size of function
Differentiate between ordinary variable and pointer in c.
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
Is return a keyword in c?
name the language for writing c compiler?
write a program to fined second smallest and largest element in a given series of elements (without sorting)
List the variables are used for writing doubly linked list program.
Why is it that not all header files are declared in every C program?
What is the equivalent code of the following statement in WHILE LOOP format?