Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 quick sort in c?

1020


what are the different storage classes in c?

1119


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

996


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

976


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)

2058


#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); }

1241


Differentiate call by value and call by reference?

915


How do you initialize pointer variables?

1031


Can a pointer point to null?

1022


What are the primitive data types in c?

1006


define string ?

1056


What are dangling pointers? How are dangling pointers different from memory leaks?

1231


Differentiate Source Codes from Object Codes

1480


How to draw the flowchart for structure programs?

9260


What is the sizeof () operator?

1017