Which is better pointer or array?
No Answer is Posted For this Question
Be the First to Post Answer
write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }
What are loops c?
Write a Program to accept different goods with the number, price and date of purchase and display them
HOW TO SWAP TWO NOS IN ONE STEP?
write a program to sort the elements in a given array in c language
write a program for odd numbers?
What is else if ladder?
Multiply an Integer Number by 2 Without Using Multiplication Operator
main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }
What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.
Explain what is the general form of a c program?
What’s the special use of UNIONS?