C Interview Questions
Questions Answers Views Company eMail

how to find turn around time in operating system?

3 6392

program to find middle element of linklist?

Huawei,

1 3018

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

Huawei,

859




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 6328

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,

1081

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 9504

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

Huawei,

1377

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

Huawei,

4 5244




implement general tree using link list

Wipro,

1 7465

What do you mean by team??

Student,

5 8801

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)

Wipro, Subex,

2 12473

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

1 6380

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.

Infosys, Google, JTL, OpenFeel,

3 10528

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.

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

1 6888

What should be keep precautions while using the recursion method?

1 6119


Post New C Questions






Un-Answered Questions { C }

difference between Low, Middle, High Level languages in c ?

807


what is the basis for selection of arrays or pointers as data structure in a program

2967


simple program of graphics and their output display

695


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1036


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

2959






Wt are the Buses in C Language

1963


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.

1013


how can use subset in c program and give more example

721


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

730


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

180


please send me the code for multiplying sparse matrix using c

978


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

701


I need previous papers of CSC.......plz help out by posting them.......

935


what is the significance of static storage class specifier?

847


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

1527