what is difference between array of characters and string
Answer Posted / ashish pandey
String is a group of character and it is used double
quatation(""), but array of stringis used single
quatation('').
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
What is table lookup in c?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is the use of volatile?
What are the advantages and disadvantages of a heap?
Explain what does the function toupper() do?
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 a structure and why it is used?
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain the use of 'auto' keyword in c programming?
What is wrong with this code?
Explain what are reserved words?
How do I read the arrow keys? What about function keys?
code for quick sort?
How many levels of indirection in pointers can you have in a single declaration?