Write a Program to accept different goods with the number,
price and date of purchase and display them
No Answer is Posted For this Question
Be the First to Post Answer
What is the return type of sizeof?
What is the difference between array and pointer?
How to declare a variable?
Juxtapose the use of override with new. What is shadowing?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
Which is better oop or procedural?
write a program that will read the temperature in Celsius and convert that into Fahrenheit.
Simplify the program segment if X = B then C ← true else C ← false
Explain what are preprocessor directives?
#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?