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
What is quick sort in c?
what are the different storage classes in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
#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); }
Differentiate call by value and call by reference?
How do you initialize pointer variables?
Can a pointer point to null?
What are the primitive data types in c?
define string ?
What are dangling pointers? How are dangling pointers different from memory leaks?
Differentiate Source Codes from Object Codes
How to draw the flowchart for structure programs?
What is the sizeof () operator?