#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 / ashwini
c
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
write a program in c language to print your bio-data on the screen by using functions.
Explain what is wrong with this statement? Myname = ?robin?;
What is a void pointer in c?
What is meant by preprocessor in c?
What is array of structure in c?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What is the benefit of using #define to declare a constant?
How is a pointer variable declared?
With the help of using classes, write a program to add two numbers.
How can I implement a delay, or time a users response, with sub-second resolution?
What is pointer to pointer in c?
How do you generate random numbers in C?
What is enumerated data type in c?
what is a function method?give example?
Differentiate abs() function from fabs() function.