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 28917

what is the difference between auto and static keywords

cDot, TCS, College School Exams Tests,

1 1055

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

3 7035




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 8043

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

2 13345

Method Overloading exist in c ?

Wipro,

3 3945

How pointer is benefit for design a data structure algorithm?

2 2420

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

1 2065




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 2291

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

1925

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

2 3586

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

TCS,

2 2981

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

1614

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

IBM,

4 13180

what is the role you expect in software industry?

Wipro, HCL,

2 2429


Post New C Questions






Un-Answered Questions { C }

write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

1566


Sir i need notes for structure,functions,pointers in c language can you help me please

1283


why return type of main is not necessary in linux

1018


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1052


Can you think of a logic behind the game minesweeper.

1020






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.. :(

927


how to write optimum code to divide a 50 digit number with a 25 digit number??

2006


5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

870


application attempts to perform an operation?

767


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

1526


a program that can input number of records and can view it again the record

769


which type of aspect you want from the student.

946


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

706


what is the different bitween abap and abap-hr?

1024


writ a program to compare using strcmp VIVA and viva with its output.

772