C Interview Questions
Questions Answers Views Company eMail

What is the difference between declaring a variable by constant keyword and #define ing that variable?

1 1532

What is the use of keyword VOLATILE in C?

1 1542

What is Function Pointer? Explain with example?

3 3224




how to print this pyramid * * * * * * * * * * * * *

2 2329

Calculate 1*2*3*____*n using recursive function??

733

how to write a prog in c to convert decimal number into binary by using recursen function,

1 1827

print out of string in this format; 1. "rajesh" 2. \n 3. %d

mpower,

5 2408

write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC

HCL,

2 7891




Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A

1 5938

int x=sizeof(!5.856); What will value of variable x?

2 4010

how can we Declare a variable in c without defining it.

TCS,

1 3325

how to execute a program using if else condition and the output should enter number and the number is odd only...

835

Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

800

main() { int a=4,b=2; a=b<>2; printf("%d", a); }

CTS,

4 3675

what different between c and c++

1 937


Post New C Questions






Un-Answered Questions { C }

hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1050


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

1909


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.

816


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.

3518


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

783






How to delete a node from linked list w/o using collectons?

1330


how to find anagram without using string functions using only loops in c programming

1882


In which layer of the network datastructure format change is done

461


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1081


plz let me know how to become a telecom protocol tester. thank you.

962


can anyone please tell about the nested interrupts?

831


write a c program in such a way that if we enter the today date the output should be next day's date.

897


write a proram to reverse the string using switch case?

1397


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

1033


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

701