C Interview Questions
Questions Answers Views Company eMail

write a prgram of swapping with 2 valiables

6 2339

Why c++ is called c++ and not c+?

EBS,

9 20353

how to set Nth bit of a variable?

1 5756




what is the output on the screen? int n; n=printf("my name is %d",printf("kiran %d",printf("kumar"))); printf("\n %d \n",n);

TCS,

4 2964

what is the output of below int n=10; (n++)++; printf("%d",n);

3 5099

why we need function pointers?

3 3301

how to find your architecture is LittleEndian or BigEndian?

1 2738

Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

959




Write a program that takes a 5 digit number and calculates 2 power that number and prints it

HCL, TCS, Infosys, Infotech, Accenture, Vertex, Vimukti Technologies, ABS, SoftSolve, Software India,

5 10501

write a program wch produces its own source code aas its output?

IonIdea,

1 4953

write a program which will count occurance of a day between two dates.

IonIdea,

1 4754

how to set Nth bit of variable by using MACRO

HCL,

3 20843

#include void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }

3 3417

write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"

2 2510

diff .between strcture and union

2 2122


Post New C Questions






Un-Answered Questions { C }

write a program to create a sparse matrix using dynamic memory allocation.

3358


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

629


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

705


which type of aspect you want from the student.

843


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

674






what are # pragma staments?

767


simple program of graphics and their output display

668


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

1236


can anyone please tell about the nested interrupts?

803


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

1924


plz let me know how to become a telecom protocol tester. thank you.

941


Write a c program to demonstrate character and string constants?

870


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

1435


to find the closest pair

965


what is the different bitween abap and abap-hr?

912