How can a program be made to print the line number where an error occurs?
No Answer is Posted For this Question
Be the First to Post Answer
What will happen when freeing memory twice
write a program to display all prime numbers
The operation of a stair case switch best explains the a) or operation b) and operation c)exclusive nor operation d)exclusive or operation Which of the following is/are syntactically correct? a) for(); b) for(;); c) for(,); d) for(;;);
1 Answers HCL, Public Service Commission,
what is the difference between postfix and prefix unary increment operators?
who is the father of c
main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }
show how link list can be used to repersent the following polynomial i) 5x+2
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed
FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?