C Interview Questions
Questions Answers Views Company eMail

diff. between *p and **p

3 6153

can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).

1 2738

what is ANSI and ISO

HCL,

7 7367

what are far pointers?

1 4064

how to swap 2 numbers in a single statement?

3 5374

how to swap 2 numbers within a single statement?

4 6829

i have a written test for microland please give me test pattern

Microland,

2301

what is the meaning of 'c' language

3 4977

#include void main() { int a [5]; for (i=0; i<=4; i++) printf(ā€œ%dā€ ,a[i]); }

8 10159

Write a program using bitwise operators to invert even bits of a given number.

2 8253

Write a program to find whether the given number is prime or not?

6 10581

Write a program to print the prime numbers from 1 to 100?

7 34628

In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?

5 6083

how to TOGGLE Nth bit of variable in a MACRO

NDS,

1 8493

write a c program to find the square of a 5 digit number and print the result.

Accenture, Sasken, Vimukti Technologies,

5 18900


Post New C Questions

Un-Answered Questions { C }

What is difference between structure and union?

706


What are the types of unary operators?

768


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2310


What are lookup tables in c?

648


What are the types of arrays in c?

727






What are the various types of control structures in programming?

703


How main function is called in c?

710


What is bubble sort technique in c?

662


What Is The Difference Between Null And Void Pointer?

727


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

774


Explain the difference between #include "..." And #include <...> In c?

708


Explain the advantages of using macro in c language?

665


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2744


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1424


What are the applications of c language?

731