C Interview Questions
Questions Answers Views Company eMail

WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

753

#include #include int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?

2 2024

what is void pointer?

Wipro,

1 2429




1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

1893

void main() { int a=1; while(a++<=1) while(a++<=2); }

HCL,

4 3526

The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1 1741

being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?

TCS,

1 2513

write a program for egyptian fractions in c?

Satyam,

1 4859




How to write the code of the program to swap two numbers with in one statement?

2 3629

write a program to display & create a rational number

TCS, HCL,

1 2482

who developed c and why he developed c?

5 7838

WHO WROTE C LANGUAGE?

4 4658

WHAT IS C?

6 2449

WHAT IS LOW LEVEL LANGUAGE?

2 1688

WHAT IS HIGH LEVEL LANGUAGE?

2 2161


Post New C Questions






Un-Answered Questions { C }

void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

652


regarding pointers concept

726


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

957


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

1659


code for replace tabs with equivalent number of blanks

739






How do we make a global variable accessible across files? Explain the extern keyword?

633


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2321


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

1893


How will you find a duplicate number in a array without negating the nos ?

868


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1103


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

729


write a program to find the given number is prime or not

2243


List the variables are used for writing doubly linked list program.

795


what will be the output for the following main() { printf("hi" "hello"); }

5061


what are non standard function in c

605