Transform this expression to infix form? AB+C*DE–FG+$
The operation for adding an entry to a stack is traditionally called:
Given the statements,
struct someone {
int age;
char *name;
} *person;
the C statement that will print out the name of the person is :
Individual structure member can be initialized in the structure itself
The correct way for a structure in C to contain a pointer to itself is
What is the output of the following code?
#include
void main()
{
int arr[] = {10,20,30,40,50};
int *ptr = arr;
printf(“\n %d\t %d\t”,*++ptr, *ptr++);
}
void main()
{
int I,fun1(),fun2(),fun3();
int (*f[3])();
f[0]=fun1;
f[1]=fun2;
f[2]=fun3;
for(I=0;I<3;I++) (*f[I])();
}
fun1()
{
printf("what");
fun2();
}
fun2()
{
printf("happened");
}
fun3
{
printf("Tulika");
}
What is the output of this program?
The purpose of declaring float (*x) (int(*a)[]); is to indicate :
Which of these are reasons for using pointers?
1.To manipulate parts of an array.
2.To refer to keywords such as for and if.
3.To return more than one value from a function.
4.To refer to particular programs more conveniently.
Which of the following is the correct way of declaring a float pointer: