C Interview Questions
Questions Answers Views Company eMail

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

Trident,

7 10541

what is disadvantage of pointer in C

Tech Mahindra,

13 18694

ABCDCBA ABC CBA AB BA A A

TCS,

4 10403




which one is highest Priority in c? a)=,b)+,c)++,d)==

4 3044

which one low Priority in c? a)=,b)++,c)==,d)+

10 3893

What are data breakpoints?

Adobe,

3 6287

What are bit fields? What is their use?

Adobe,

2 4084

Write code for atoi(x) where x is hexadecimal string.

Adobe,

5 21945




Write code for finding depth of tree

Adobe,

2 3610

Two's compliment of -5

Adobe,

4 5545

CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.

Adobe,

9 6323

what's the return value of malloc()

9 9098

I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

8452

What are the average number of comparisons required to sort 3 elements?

DRDO,

2 4570

Is it possible to run a c program without using main?If yes HOW??

Wipro,

13 10597


Post New C Questions






Un-Answered Questions { C }

write a program to print largest number of each row of a 2D array

1187


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

651


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.

292


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

757


Simplify the program segment if X = B then C ← true else C ← false

1865






Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

1780


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3033


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

774


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

587


provide an example of the Group by clause, when would you use this clause

989


Hai what is the different types of versions and their differences

825


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

712


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

928


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

991


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1041