C Interview Questions
Questions Answers Views Company eMail

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

4290

5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function

TCS,

2425

Why is the code below functioning. According to me it MUST NOT.

2069

write a program in C to swap two variables

6190

mplementation of stack using any programing language

2276

How to find the usage of memory in a c program

3311

How can you print HELLO WORLD without using "semicolon"?

6043

struct node { int *a; char *b; char array; }; struct node m,*n; assign the value in *a,*b,char array

3935

Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors

3157

Write a program that takes a 5 digit number and calculates 2 power that number and prints it

3482

I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1195

what will be the output off the following program? #include int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }

HCL,

6315

change to postfix a/(b+c*d-e)

3597

write a method for an array in which it can display the largest n next largest value.

2522

write a program to find the largest and second largest integer from an array

7172

Un-Answered Questions { C }

write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

1320

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

815

please give me some tips for the placement in the TCS.

976

program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

1788

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

898

disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

875

write a program for the normal snake games find in most of the mobiles.

1181

program to convert a integer to string in c language'

1199

how do you programme Carrier Sense Multiple Access

865

In which layer of the network datastructure format change is done

568

while initialization of array why we use a[] why not a[]...?

1198

what type of questions arrive in interview over c programming?

901

illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

821

What is the difference between test design and test case design?

867

find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

848