char p="data";
printf(p);
Answers were Sorted based on User's Feedback
Answer / veluri.haritha
It gives an error message as "NON PORTABLE POINTER CONVERSION"
because character data type accepts single character which
is enclosed in the single quotes.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
What is an volatile variable?
Difference between fopen() and open()?
While(1) { } when this loop get terminate is it a infinite loop?
User define function contain thier own address or not.
What is the difference between CV and Resume ?
why program counter is 16 bit?
Why cann't whole array can be passed to function as value.
how can we use static and extern?and where can we use this?
What is the argument of a function in c?
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
a C prog to swap 2 no.s without using variables just an array?
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }