Why main is used in c?
No Answer is Posted For this Question
Be the First to Post Answer
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.?
what is an inline function?
write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC
What is the most efficient way to count the number of bits which are set in a value?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is formal argument?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What does double pointer mean in c?
Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.
why Language C is plateform dependent
What is sizeof return in c?
Are local variables initialized to zero by default in c?