Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions

Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

955

how to print this sereis 2 4 3 6 5..........?

2473

I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?

2100

I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1269

difference between c and c++?

2473

how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

958

can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

978

write a program to display the numbers having digit 9 in the given range from 1 to 100

2958

Write a C program to multiply tho numbers without using arithmetic operator (+, -, *, /).

2707

Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.

2700

Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table

8630

In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2229

Write a C program to count the number of email on text

1053

Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.

2521

a simple c program using 'for' loop to display the output 5 4 3 2 1

1972

Why do we use header files in c?

139

Can you mix old-style and new-style function syntax?

158

Write a program to swap two numbers without using third variable in c?

149

Explain how can I convert a number to a string?

174

Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

179

What is graph in c?

128

how do you execute a c program in unix.

176

how to write a c program to print list of fruits in alpabetical order?

1063

Can 'this' pointer by used in the constructor?

168

How to implement a packet in C

1930

Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

986

What is assert and when would I use it?

137

What does typeof return in c?

115

Do you know what are bitwise shift operators in c programming?

148

How can I remove the trailing spaces from a string?

177