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

C Interview Questions
Questions Answers Views Company eMail

how to find turn around time in operating system?

3 7210

program to find middle element of linklist?

Huawei,

1 3558

program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

Huawei,

1184

pgm to reverse string using arrays i.e god is love becomes love is god) (assumption:only space is used for seperation of words) no addtional memory used.i.e no temporary arrays can used.

Persistent, Valyoo,

4 7456

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)

Subex,

1431

pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )

Persistent,

2 11070

pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

Huawei,

1767

pgm to find middle element of linklist(in efficent manner)

Huawei,

4 6052

implement general tree using link list

Wipro,

1 8637

What do you mean by team??

Student,

5 10362

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)

Subex, Wipro,

2 14007

Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.

1 6932

Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return - 1. The function should not make use of any C library function calls.

Google, Infosys, JTL, OpenFeel,

3 13942

Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

Amazon, CSJM, HCL, Microsoft, TCS, Wipro,

1 8485

What should be keep precautions while using the recursion method?

1 7451


Post New C Questions






Un-Answered Questions { C }

What does 1f stand for?

156


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1051


What is the purpose of scanf() and printf() functions?

201


What does emoji p mean?

161


In C language what is a 'dangling pointer'?

240






Can you return null in c?

181


Why c is called a mid level programming language?

200


about c language

1120


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

1267


Are negative numbers true in c?

145


Explain that why C is procedural?

215


all c language question

1361


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

201


What is the difference between a free-standing and a hosted environment?

194


What is a lvalue

212