#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
Answer Posted / shraddhacpawar
a
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
What are the 4 types of functions?
What are the differences between new and malloc in C?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Which is better oop or procedural?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
Subtract Two Number Without Using Subtraction Operator
Which type of language is c?
Can we declare function inside main?
What is the main difference between calloc () and malloc ()?
Differentiate between a structure and a union.
What is the meaning of ?
Can i use “int” data type to store the value 32768? Why?
What are the different types of constants?
Can you tell me how to check whether a linked list is circular?