Interview questions
Team Lead/ Tech Lead interview questions – page 11
3,203 questions. Tap “Show answer” to check yourself.
-
You're given the following program:
-
How many BOOMs will be printed ?
-
Can anyone enlighten me:While connecting 2 subject oriented data mart for example SALES & MARKETING, thru common key, but the common dimensional table name alone (not the structure or columns in the table) is different say (year_sal_dim & period_fin_dim).
-
Let Sample.exe is a C compiled and linked file. What is the argc value in Sample.c for following command line
-
We have multiple ORGs as we have many subsidiaries of our Parent company. These subsidiaries are defined as ORG and are assigned an ORG-ID. Within each ORG, we have Divisions (e.g. Human Resources, Finance, Materials etc.) and within each division we have
-
Int i = 20; printf ("%x", i); what is the output? a) x14 b) 14 c) 20 d) none of the above
-
When you compiler a C and C++ code on X86 processor, what are the difference you see in object file?
-
Read the function conv() given below
-
Z = scanf("%d %d", &x, &y); printf("%d", z);
-
For(i=0; i<=10; i++, printf("%d",i));
-
Can we access static variable in other file?
-
What is true about the following C Functions
-
Differences between unions and structures in C, explain with examples
-
What are different storage classes?
-
I want C program code for : Reverse the links of a linked list by traversing only once Input:The input consists of the information in each node of the linked list. Output:The program displays the information in the linked list after the links are reversed
-
Write a C program to find endianness of your machine
-
Union u1{int i;char c;}u2;u2.i=32767;u2.c='a';now the i value gets replaced.If we want to know the data that is saved in the union..internally, without knowing what values that we are using in the prog.that is if just want to know whether a union
-
How malloc and free are implemented , how os deals wit them, etc
-
/*Are my STATEMENTS in the following program correctEXCEPT IN CASE 3 THE ARE WRONG SO PLEASE CORRECT IT*/#include<stdio.h>#include<conio.h>#include<alloc.h>void main(){ int i=3; int j; clrscr();//case 1://when only post increment in the expr then all &
-
Which one of the following statements allocates enough space to hold an array of 10 integers that are initialized to 0 ? a) int *ptr = (int *) calloc(10,sizeof(int)); b) int *ptr = (int *) alloc( 10*sizeof(int)); c) int *ptr = (i...
-
What is the largest value an integer can hold in a Standard C compiler ? a) 32767 b) 65536 c) 2147483647 d) INT_MAX
-
Scope of a global variable which is declared as static?
-
What is sizeof(x)?
-
Write a single line c expression to delete a,b,c from aabbcc
-
What is :- Asembler , compiler , Preprocessor , laxical analysis , parsing ?
-
If I create a TS from one transaction, can I read it from another transaction?
-
What is the common sytsems area (CSA) ?
-
What is the EXEC CICS HANDLE ABEND?
-
Consider a pile of Diamonds on a table. A thief enters and steals 1/2 of the total quantity and then again 2 extra from the remaining. After some time a second thief enters and steals 1/2 of the remaining+2. Then 3rd thief enters and steals 1/2 of the remaining+2. Then 4th thief enters and steals 1/2 of the remaining+2. When the 5th one enters he finds 1 diamond on the table. Find out the total no. of diamonds originally on the table before the 1st thief entered.
-
How can allocate memory for n-dim array?