Why void is used in c?
No Answer is Posted For this Question
Be the First to Post Answer
Are there any problems with performing mathematical operations on different variable types?
how does printf function work
Explain about C function prototype?
Which weighs more, a gram of feathers or a gram of gold?
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175
what are advantages of U D F?
What does the file stdio.h contain?
An array name contains base address of the array. Can we change the base address of the array?
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
wt is diference between int and int pointer as same as float and float pointer and char and char pointer
In a switch statement, what will happen if a break statement is omitted?