typedef int (*PFI)(char *, char *)creates ___________
Answer: A
No answer description available for this question.
Enter details here
What is x in the following program?
#include
int main()
{
typedef char (*(*arrfptr[3])())[10];
arrfptr x;
return 0;
}
Answer: C
No answer description available for this question.
Enter details here
The type of linked list in which the node does not contain any pointer or reference to the previous node is _____________
Answer: B
A singly linked list is one in which each node has two fields, namely data field and pointer field. Data field stores the data and the pointer field points to the address of the next node.
Enter details here
typedef declaration:
Answer: C
No answer description available for this question.
Enter details here
Point out the error in the following code?
typedef struct
{
int data;
NODEPTR link;
}*NODEPTR;
Answer: B
No answer description available for this question.
Enter details here
Which option should be selected to work the following C expression?
string p = "HELLO";
Answer: B
No answer description available for this question.
Enter details here
Are the properties of i, j and x, y in the following program same?
typedef unsigned long int uli;
uli i, j;
unsigned long int x, y;
Answer: A
No answer description available for this question.
Enter details here
Local variables are stored in an area called ___________
Answer: D
No answer description available for this question.
Enter details here
What is the size of myArray in the code shown below? (Assume that 1 character occupies 1 byte)
typedef char x[10];
x myArray[5];
Answer: D
The size of myArray will be equal to 50 bytes. In the code shown above, we have defined a character array x, of size 10. Hence the output of the code shown above is 10*5 = 50 bytes.
Enter details here
Is there any difference in the #define and typedef in the following code?
typedef char * string_t;
#define string_d char *;
string_t s1, s2;
string_d s3, s4;
Answer: A
No answer description available for this question.
Enter details here