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

762

Differentiate b/w Modify and Update commands giving example.

1 1914

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

CTC,

2 2309




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

1205

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

Infosys,

7 23156

who is the father of c

Infosys,

4 3902

what is pointer ? what is the use of pointer?

Infosys,

6 4601

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

Infosys,

5 5330




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

Infosys,

7 6065

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

CSC,

1 1731

How can I access a memory located at certain address?

CSC,

2 2760

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

CSC,

2 2432

How can I read a directory in a c program?

CSC,

1 2428

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

CSC,

1 2580

Famous puzzles which are generally asked by companies during interviews ?

Yahoo, 3D PLM,

1 11679


Post New C Questions






Un-Answered Questions { C }

int far *near * p; means

2251


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

264


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

330


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

855


all c language question

1035






how we can make 3d venturing graphics on outer interface

2844


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.

693


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

1123


Hi can anyone tell what is a start up code?

900


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

1678


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

2071


what is the syallabus of computer science students in group- 1?

1104


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1099


what is the structure pointer?

958


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

820