char p="data";
printf(p);

Answer Posted / v.haritha

It gives an error message as "NON PORTABLE POINTER CONVERSION"
because a variable of character data type can store only a
single character where as in this case the variable is
initialized with a string.




answered by V.HARITHA undergoing c training yet
to join b.tech.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of linkage in c language?

611


What are the usage of pointer in c?

701


What is call by value in c?

552


What is f'n in math?

614


What is sizeof array?

605






What is malloc calloc and realloc in c?

660


What is external variable in c?

607


What are formal parameters?

652


What are the advantages of using Unions?

642


Explain the concept and use of type void.

623


Difference between exit() and _exit() function?

651


Disadvantages of C language.

649


How reliable are floating-point comparisons?

621


What is a pointer variable in c language?

641


How can you increase the allowable number of simultaneously open files?

593