Global Edge Interview Questions
Top 10 Global Edge Interview Questions With Answer
Question: 1 / 10
Briefly introduce your self, and current project you are working.
Question: 2 / 10
Is there any error in the below program. if no then what will be the output of the below program.
main()
{
fun1();
fun2();
}
fun1()
{
static i = 5;
i--;
printf("\r\n%d\r\n",i);
}
fun2()
{
static i = 3;
i--;
printf("\r\n%d\r\n",i);
}
4
2
Question: 3 / 10
What if we have call in main like (question 2 extended)
main()
{
fun1();
fun2();
fun1();
fun2();
}
4
2
3
1
Question: 4 / 10
What is typedef and typecast.
Question: 5 / 10
Write a program to delete the node in single circular linklist. when address of any node is given.
Question: 6 / 10
What is difference between inline and macro.
Question: 7 / 10
What are the type of storage class.
Answer:
We have four different storage classes in a C program −
auto
register
static
extern
Question: 8 / 10
Explain the memory layout in c. and explain the scope of storage class in it.
Question: 9 / 10
What is dangling pointer.
Question: 10 / 10
How will u access the element of structure. if struct xx *y;
Answer:Structure pointer member can also be accessed using -> operator.