Nagarro Aptitude Questions and Answers for Freshers
1 / 79
Structure can be used
ATo hold different datatypes
BHave pointers to structure
CTo assign to one another
DAll the above
Answer: Option D
Explanation:Here is no explanation for this answer
Submit Your Solution
2 / 79
What is the output of the program?
#include
int main()
{
extern int a;
printf("%d\n",a);
return 0;
}
int a =20;
A20
B0
CGarbage Value
DError
Answer: Option A
Explanation:Here is no explanation for this answer
Submit Your Solution
3 / 79
C language is available for which of the following Operating System?
ADOS
BWindows
CUnix
DAll of these
Answer: Option D
Explanation:Here is no explanation for this answer
Submit Your Solution
4 / 79
#include <stdio.h>
int main()
{
int i,j;
i = j =2;
while ( --i && j++)
printf("%d %d",i,j);
return 0;
}
A2 3
B0 3
C1 3
DInfinite Loop
Answer: Option C
Explanation:Here is no explanation for this answer
Submit Your Solution
5 / 79
The size of generic pointer in c is 2 __
ABytes
BBits
CNone of these
Answer: Option A
Explanation:Here is no explanation for this answer
Submit Your Solution
6 / 79
int func(int);
double func(int);
int func(float);
AA function with same name connot have different signatures.
BA function with same name cannot have different return types.
CA function with same name cannot have different number of parameters
DAll of the mentioned.
Answer: Option D
Explanation:Here is no explanation for this answer
ShortCut By :: VIKAS KUMAR singhA function with the same name cannot have different signatures.
int func(int); double func(int);
A function with the same name cannot have different return types.
double func(int);
int func(float);
A function with the same name cannot have a different number of parameters
.int func(int);int func(float);
Submit Your Solution
7 / 79
The smallest integer than can be represented by an 8-bit number in 2's complement form is
A-256
B-128
C-127
D0
Answer: Option B
Explanation:Here is no explanation for this answer
Submit Your Solution
8 / 79
The five items: A,B,C,D and E are pushed in stack, one after the other starting from A. The stack is
Is popped four items and each element is inserted in a queue. Then two elements are deleted from the queue and pushed back on the stack . Now one item is popped from the stack.
The popped item is.
AA
BB
CC
DD
Answer: Option D
Explanation:Here is no explanation for this answer
Submit Your Solution
9 / 79
#include <stdio.h>
void main()
{
int a=0, b=0;
a = (b =75)+9;
printf("\n%d, %d ",a,b);
}
A75, 9
B75, 84
C84, 75
DNone of these Options
Answer: Option C
Explanation:Here is no explanation for this answer
Submit Your Solution
10 / 79
#include<stdio.h>
int main()
{
int x;
for (x=-1; x<10;x++)
{
if (x<5)
continue;
else
break;
printf("Nagarro");
}
return 0;
}
AInfinite times
B11 times
C0 times
D10 times
Answer: Option C
Explanation:Here is no explanation for this answer
Submit Your Solution
Here is the list of questions asked in Nagarro Aptitude Questions and Answers for Freshers - Q4Interview. Practice Nagarro Written Test Papers with Solutions and take Q4Interview Nagarro Online Test Questions to crack Nagarro written round test. Overall the level of the Nagarro Online Assessment Test is moderate. Only those candidates who clear the written exam will qualify for the next round, so practic all the questions here and take all the free tests before going for final selection process of Nagarro