C Interview Questions
Questions Answers Views Company eMail

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

792

Differentiate b/w Modify and Update commands giving example.

1 1955

What's the difference between DELETE TABLE and TRUNCATE TABLE commands?

CTC,

2 2355




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

1233

what is the difference between getch() and getche()?

Infosys,

7 23337

who is the father of c

Infosys,

4 3966

what is pointer ? what is the use of pointer?

Infosys,

6 4668

what is the difference between call by value and call by reference?

Infosys,

5 5444




#include main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }

Infosys,

7 6305

How is a two dimensional array passed to function when the order of matrix is not known at complie time?

CSC,

1 1785

How can I access a memory located at certain address?

CSC,

2 2850

How can we allocate array or structure bigger than 64kb?

CSC,

2 2475

How can I read a directory in a c program?

CSC,

1 2477

How can I increase the allowable number of simultaneously open files?

CSC,

1 2631

Famous puzzles which are generally asked by companies during interviews ?

Yahoo, 3D PLM,

1 11761


Post New C Questions






Un-Answered Questions { C }

What is pre-emptive data structure and explain it with example?

2510


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

610


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

1548


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

798


hi, which software companys will take,if d candidate's % is jst 55%?

913






Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

1227


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

362


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

2119


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

677


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

1645


can any one tel me wt is the question pattern for NIC exam

934


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

954


Write a Program to accept different goods with the number, price and date of purchase and display them

3640


#include { printf("Hello"); } how compile time affects when we add additional header file .

746


what is the difference between class and unio?

1168