61. Which of the following involves context switch,
Answer: system call
Explanation:Here is no explanation for this answer
Workspace
Cisco Societe Generale
62. A thread is
Answer: lightweight process where the context switching is low
Explanation:Here is no explanation for this answer
Workspace
Cisco Societe Generale
63. #include
void main()
{
unsigned short a=-1;
unsigned char b=a;
printf("%d %d ",a,b);
}
What is output of the program?
Answer: 65535 255
Explanation:Here is no explanation for this answer
Workspace
Cisco
64. int a[5][6]
Answer: 60 bytes.
Explanation:Here is no explanation for this answer
Workspace
Cisco
65. main()
{
int a;
printf("%d",scanf(%d,&a));
}
Answer: 1
Explanation:Here is no explanation for this answer
Workspace
Cisco
66. Find the output for the following C program
#define d 10+10
main()
{
printf("%d",d*d);
}
Answer: 120
Explanation:Here is no explanation for this answer
Workspace
Cisco
67. Given the following statement
enum day = { jan = 1 ,feb=4, april, may}
What is the value of may?
Answer: 6
Explanation:Here is no explanation for this answer
Workspace
Cisco Societe Generale
68. Given arrays base address is 1000. array is a[5][4]. Then what is the correct address of a[4][3].
Answer: 1024000
Explanation:Here is no explanation for this answer
Workspace
Cisco
69. The concatenation of 2 lists can be performed O(1) time. Which of the following implementation of list should be used?
Answer: Circular Linked List
Explanation:Here is no explanation for this answer
Workspace
Cisco Capgemini
70. For linked list implementation , which search is not applicable ?
Answer: Binary search.
Explanation:Here is no explanation for this answer
Workspace
Cisco