#include<stdio.h>
main()
{
int a[3];
int *I;
a[0]=100;a[1]=200;a[2]=300;
I=a;
Printf(“%d\n”, ++*I);
Printf(“%d\n”, *++I);
Printf(“%d\n”, (*I)--);
Printf(“%d\n”, *I);
}
what is the o/p
a. 101,200,200,199
b. 200,201,201,100
c. 101,200,199,199
d. 200,300,200,100
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Whats s or c mean?
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.
what is the difference between i++ and ++i?
What does int main () mean?
What is the use of the sizeof operator?
read an array and search an element
Differentiate between calloc and malloc.
WAP to find that given no is small or capital
What is a pointer on a pointer in c programming language?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is the g value paradox?