Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

how to find turn around time in operating system?

3 9470

program to find middle element of linklist?

Huawei,

1 5081

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

Huawei,

2096

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 10712

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,

2343

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 13422

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

Huawei,

2646

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

Huawei,

4 8716

implement general tree using link list

Wipro,

1 10954

What do you mean by team??

Student,

5 14214

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 16469

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

1 8245

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 16961

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 12980

What should be keep precautions while using the recursion method?

1 9351


Post New C Questions

Un-Answered Questions { C }

which is an algorithm for sorting in a growing Lexicographic order

1806


Which built-in library function can be used to match a patter from the string?

1303


Is Exception handling possible in c language?

2048


Explain setjmp()?

1072


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2529


writ a program to compare using strcmp VIVA and viva with its output.

2024


What is #pragma statements?

1101


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

2081


Are there any problems with performing mathematical operations on different variable types?

1040


What is a null pointer in c?

1232


What is the best way to store flag values in a program?

1081


What is the use of #define preprocessor in c?

1081


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2302


What is getch () for?

1240


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1556