what is difference between array of characters and string
Answer Posted / vedavathi
when we declare array of character it has 2 be teminated by
null,but termination by null in case of string is automatic.
| Is This Answer Correct ? | 93 Yes | 23 No |
Post New Answer View All Answers
Explain the advantages and disadvantages of macros.
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Explain output of printf("Hello World"-'A'+'B'); ?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Why is structure important for a child?
What are the 4 types of unions?
What does the c in ctime mean?
How can I convert a number to a string?
When should a far pointer be used?
Can you tell me how to check whether a linked list is circular?
What are the advantages of using Unions?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is dynamic memory allocation?
What is d'n in c?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers