C Interview Questions
Questions Answers Views Company eMail

how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......

Infosys,

10 27371

what is the difference between auto and static keywords

cDot, TCS, College School Exams Tests,

1 978

Write a simple program to find the size of different basic data types in C.

3 6883




Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.

HCL,

3 7924

Write a function to find the area of a triangle whose length of three sides is given

2 13129

Method Overloading exist in c ?

Wipro,

3 3843

How pointer is benefit for design a data structure algorithm?

2 2357

why little endian and big endian came?y they using differently? y they not used commonly ?wt is application of little and big ?

1 2001




WHAT IS RTGS N MINIMUM AMT TO B TRANSFERD N WHAT R THE CHARGES ON MINIMUM AMT N IN WHICH BANK WE CAN DO IT?

1 2151

Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

1819

what do you mean by defining a variable in our c code?

2 3465

what is the difference between definition and declaration? give me some examples.

TCS,

2 2891

Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

1558

write a c program for greatest of three numbers without using if statment

IBM,

4 12327

what is the role you expect in software industry?

Wipro, HCL,

2 2328


Post New C Questions






Un-Answered Questions { C }

what is the basis for selection of arrays or pointers as data structure in a program

2996


Can you write the algorithm for Queue?

803


Which driver is a pure java driver

173


write a program to find the given number is prime or not

2329


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

656






what is reason of your company position's in india no. 1.

1025


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.

856


can anyone please tell about the nested interrupts?

851


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

802


.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; }

157


pierrot's divisor program using c or c++ code

984


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

1325


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

3570


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

1558


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

866