C Interview Questions
Questions Answers Views Company eMail

how can u print a message without using any library function in c

NIIT,

1 3672

can you change name of main()?how?

HCL, Siemens,

3 5709

who invented c

IBM,

13 7121




Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

Sikkim Manipal University,

844

Write any data structure program (stack implementation)

HTC,

1 6586

Write a program to add the following ¼+2/4+3/4+5/3+6/3+... (Like up to any 12 no.s)

HTC,

1 4313

what is meant by flushll() in c programming?

1 12639

how to capitalise first letter of each word in a given string?

715




how to find binary of number?

2 1829

simple program for virtual function?

1 1888

how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...

3 2349

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.

HCL,

3980

Find the largest number from the given 2 numbers without using any loops and the conditional operator.

2 2512

write c program without semicolon

TCS, Wipro, MindTech,

11 6696

How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.

HCL,

1 1906


Post New C Questions






Un-Answered Questions { C }

write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

1707


how to find binary of number?

1829


#include { printf("Hello"); } how compile time affects when we add additional header file .

676


write a program to rearrange the array such way that all even elements should come first and next come odd

970


why return type of main is not necessary in linux

937






a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

1552


c program to compute AREA under integral

962


i got 75% in all semester am i eligible for your company

1014


List the variables are used for writing doubly linked list program.

854


write a program to copy the string using switch case?

1637


How to draw the flowchart for structure programs?

6463


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1168


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

2329


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

1169


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

976