int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be
a) 7
b) 6
c) 4
d) pointer
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by c what are the main characteristics of c language?
How to print %d in output
#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?
Is null a keyword in c?
What are the rules for identifiers in c?
how to find the size of the data type like int,float without using the sizeof operator?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
main() { int a = 65; printf(“%d %o %x”,a,a,a); } Output 65 101 41 Please explain me.How it is coming like that?
What is sizeof in c?
what is used instead of pointers in java than c?