C Interview Questions

how to find turn around time in operating system?

6509

program to find middle element of linklist?

3088

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

906

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.

6485

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)

1120

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 )

9739

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

1432

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

5337

implement general tree using link list

7658

What do you mean by team??

8964

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)

12699

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

6467

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.

11154

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.

7036

What should be keep precautions while using the recursion method?

6338

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

923

1490

string reverse using recursion

1085

why we wont use '&' sing in aceesing the string using scanf

1042

#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

794

586

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

1571

write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

10478

What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1068

what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1078

Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

210

How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

875

what is event driven software and what is procedural driven software?

1246

Without Computer networks, Computers will be half the use. Comment.

1002

Sir i need notes for structure,functions,pointers in c language can you help me please

1248