Explain what is the best way to comment out a section of code that contains comments?
No Answer is Posted For this Question
Be the First to Post Answer
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 wrong with this program statement?
Write a program to accept a character & display its corrosponding ASCII value & vice versa?
Explain high-order and low-order bytes.
#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?
write a c programme for add of two numbers with out use of arthematic operators
sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?
A woman had somany gloves and hats 22 red,34 blue, 45 white...there was power cut and she took a glove and how many gloves shud she take so that she gets a pair of glove fr each color??
When should I declare a function?
how can u print a message without using any library function in c