[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

latest placement papers of Global Edge

104.67K

Tot. Mock Test: 3


Total Qs: 164+

NA
SHSTTON
23
Solv. Corr.
81
Solv. In. Corr.
104
Attempted
0 M:0 S
Avg. Time

151 / 164

Choose the correct option.

#include

#define mysizeof(a) (&a+1) - &a
void main()
{
float d;
printf("%d\n", mysizeof(d) );
}
Note: assume sizeof float is 8 bytes


A8

B4

C1

Dcompiler error

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

NA
SHSTTON
20
Solv. Corr.
16
Solv. In. Corr.
36
Attempted
0 M:0 S
Avg. Time

152 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
 {
char p[]="Hello";
p[0]='h';
printf("%s\n", p);
}

Ahello

BHello

Ccompiler error

Drun time error

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
16
Solv. Corr.
19
Solv. In. Corr.
35
Attempted
0 M:0 S
Avg. Time

153 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
        char *a="Hello";
        *a++ = 'h';
        printf("%s\n",a);
        }

Ahello

Bello

Crun time error

Dcompiler error

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
6
Solv. Corr.
30
Solv. In. Corr.
36
Attempted
0 M:44 S
Avg. Time

154 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
 {
int a=8,d;
int *p;
p=&a;
d=a/*p;
print("%d\n",d);
}

A1

B0

Ccompiler error

Drun time error

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
20
Solv. Corr.
26
Solv. In. Corr.
46
Attempted
0 M:0 S
Avg. Time

155 / 164

Choose the correct option.

int (*fun())[]


Afunction returning a pointer to an array

Bfunction returning an array of pointers

Cpointer to a funtion which takes array as argument

DCompiler error

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
12
Solv. Corr.
29
Solv. In. Corr.
41
Attempted
0 M:0 S
Avg. Time

156 / 164

What will be output of the following "c" code?
#define SIZE sizeof(int)
  main(){ int i=-1;
        if( i < SIZE )
                printf("True\n");
        else
                printf("False\n");
  }

ATRUE

BFALSE

Ccan't predict

DNone of these

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
7
Solv. Corr.
29
Solv. In. Corr.
36
Attempted
0 M:0 S
Avg. Time

157 / 164

What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
 int a;
 char *p;
 a = sizeof(int) * p; 
 printf("%d\n",a);
 }

Acompile error

Brun time error

C4

Dcompiler dependent

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
30
Solv. Corr.
87
Solv. In. Corr.
117
Attempted
0 M:0 S
Avg. Time

158 / 164

Choose the correct option.

How do u declare a pointer to an array of pointers to int?


Aint *a[5];

Bint **a[5];

Cint *(*a)[5];

Du can not declare

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

NA
SHSTTON
5
Solv. Corr.
24
Solv. In. Corr.
29
Attempted
0 M:0 S
Avg. Time

159 / 164

What will be output of the following "c" code?
main(int argc,char *argv[])
{
 printf((argc > 1 ? "%c" : "%c",*++argv);
}
If the i/p string is "GESL Bangalore")

AG

BE

CB

DGESL

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge

NA
SHSTTON
25
Solv. Corr.
21
Solv. In. Corr.
46
Attempted
0 M:0 S
Avg. Time

160 / 164

Choose the correct option.

What does main return on successful execution?


A1

B0

C-1

DNonzero

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Global Edge


Here is the list of questions asked in placement question papers of Global Edge latest placement papers of Global Edge. Practice Global Edge Written Test Papers with Solutions and take Q4Interview Global Edge Online Test Questions to crack Global Edge written round test. Overall the level of the Global Edge 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 Global Edge