Is printf(?%d?,p); valid?



Is printf(?%d?,p); valid?..

Answer / Mukesh Chandra

The provided statement is not valid in C programming. The correct syntax for printing a value to a variable using printf function would be: printf("%d", p).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

What is STP

0 Answers   Tech Mahindra,


Why DG Set manufacturers do not give options for alternative fuels. They even do not allow to change at the cost of custmers.

1 Answers  


What is The Need of Template?

1 Answers  


There are three bucket...Apple,Orange and Apple+Orange....On each Bucket one of the following labels are there..'A','O','A+O'...all this labels are not correctly patched on Bucket..identify which bucket contains What? You can not see bucket..u can pick any number of fruit from any basket...???

1 Answers   Persistent,


char *a[2]; int const *p; int *const p; struct new { int a;int b; *var[5] (struct new)} Describe the statements in the above given construct ?

1 Answers   Geometric Software,


A,B and C can complete a piece of work in 10 days, then how many people are required to finish the whole work in 25 days? a) 10 days b) 15 days c) 20 days d) 22 days e) 25 days

5 Answers   Patni,


what are nanoemulsions and how are they prepared? i want a brief outline about nanoemulsions.. is anyone of you is having any literature, can you share that? also any an idea where i can get the information?

1 Answers  


Given Max hash and set of numbers find the way they are arranged.

1 Answers   NetApp,


Please send the details and fee for Intools training course..I would like to do the course in second week of jUNE 2010.

1 Answers  


Why did they used to make the mill chimneys so tall?

1 Answers  


can i get some win vista notes

1 Answers  


Write a Java program that takes an integer from the user and extracts and displays each digit of the integer in English. So, if the user types in 932, the program will display nine three two. [Use SimpleInput class]

1 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)