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

1493

Differentiate b/w Modify and Update commands giving example.

1 2855

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

CTC,

2 3696

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

1867

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

Infosys,

7 26771

who is the father of c

Infosys,

4 5970

what is pointer ? what is the use of pointer?

Infosys,

6 7294

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

Genpact, Global Logic, Infosys,

5 7911

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

Infosys,

7 17359

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

CSC,

1 2826

How can I access a memory located at certain address?

CSC,

2 4346

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

CSC,

2 3825

How can I read a directory in a c program?

CSC,

1 3651

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

CSC,

1 3710

Famous puzzles which are generally asked by companies during interviews ?

3D PLM, Yahoo,

1 13118


Post New C Questions

Un-Answered Questions { C }

Explain what is the difference between functions abs() and fabs()?

611


Explain the use of bit fieild.

700


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

732


How can I copy just a portion of a string?

808


Explain what are the standard predefined macros?

642






What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

893


State the difference between x3 and x[3].

642


List some of the dynamic data structures in C?

776


Why can't I perform arithmetic on a void* pointer?

626


How will you write a code for accessing the length of an array without assigning it to another variable?

607


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

641


What is omp_num_threads?

568


Mention four important string handling functions in c languages .

615


What is the difference between call by value and call by reference in c?

610


Why doesnt the call scanf work?

654