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

Answers were Sorted based on User's Feedback



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

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

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

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

Post New Answer

More C Interview Questions

Which type of language is c?

0 Answers  


who did come first hen or agg

15 Answers   Infosys,


what is c programming?

3 Answers   TCS,


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

0 Answers   Infosys,


What is meant by recursion?

0 Answers   ADP,


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

0 Answers  


find largest of 3 no

8 Answers  


Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"

15 Answers   Accenture,


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

0 Answers  


Hierarchy decides which operator a) is most important b) is used first c) is fastest d) operates on largest numbers

1 Answers  


What is the purpose of realloc()?

0 Answers  


How can I read data from data files with particular formats?

0 Answers  


Categories