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.

TCS, Vimukti Technologies,

5 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,

1 2425

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

1 2069




write a program in C to swap two variables

Marlabs, Attrabyte,

7 6190

mplementation of stack using any programing language

Marlabs,

1 2276

How to find the usage of memory in a c program

Infosys,

1 3311

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

HCL, Infosys,

7 6043

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

3 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

3 3157

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

7 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,

9 6315

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

Value Labs,

8 3597

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

Value Labs,

1 2522

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

Value Labs,

2 7172


Post New C Questions






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[][2] why not a[2][]...?

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