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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1462


What is #define used for in c?

609


What is switch in c?

642


i want to know the procedure of qualcomm for getting a job through offcampus

1929


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

653






What are the different types of C instructions?

669


What is the difference between variable declaration and variable definition in c?

562


What happens if you free a pointer twice?

604


What is wild pointer in c with example?

570


What is 'bus error'?

641


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

664


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

562


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

669


Difference between macros and inline functions? Can a function be forced as inline?

704


Explain how to reverse singly link list.

603