C Interview Questions
Questions Answers Views Company eMail

What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }

1 194

write a c program to find largest of three numbers using simple if only for one time.

1 187

Why cd or dvd are round why not square.

1 109




Which driver is a pure java driver

Vertex,

144

In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

180

Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

146

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.

Microsoft,

177

Explain output of printf("Hello World"-'A'+'B'); ?

160




.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

127

we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

26

Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

Zoho,

120

int i=10; printf("%d %d %d", i, i=20, i);

17

largest Of three Number using without if condition?

13


Post New C Questions






Un-Answered Questions { C }

Write a progarm to find the length of string using switch case?

802


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

1960


what value is returned to operating system after program execution?

805


In which layer of the network datastructure format change is done

460


what are # pragma staments?

789






Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

830


why return type of main is not necessary in linux

912


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

3919


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

419


what is the different bitween abap and abap-hr?

935


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

663


write a c program for swapping two strings using pointer

1261


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

810


difference between Low, Middle, High Level languages in c ?

807


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

2847