C Interview Questions
Questions Answers Views Company eMail

program to find the second largest word in a paragraph amongst all words that repeat more thn twice

iGate, CTS,

4 9488

why i join syntel?

Syntel, ABC, TCS,

23 44027

Write code for initializing one dimentional and two dimentional array in a C Program?

Deshaw, Edutech, GMD,

5 9947




what is the difference between NULL & NUL keywords in C?

3 19274

how many argument we can pas in in a function

CTS,

25 16585

HOW TO HANDLE EXCEPTIONS IN C

8 8325

palindrome for strings and numbers----Can anybody do the prog?

CTS, TCS, Vipro Lifescience Pvt,

6 8734

How many types of linked lists what are they? How many types of data structures?

BSNL, Pivotal Software,

18 30524




What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 4565

What is function pointer and where we will use it

Infosys, NetApp,

2 6366

Who had beaten up hooligan "CHAKULI" in his early college days?

1 2511

write a program to find out number of on bits in a number?

Microsoft, Huawei,

17 19831

post new interiew question and aptitude test papers

1 2800

what information does the header files contain?

GDA Technologies, BSNL, Cisco,

6 14150

IS STRUCTURES CAN BE USED WITHIN AN ARRAY?

Caritor,

7 6223


Post New C Questions






Un-Answered Questions { C }

ATM machine and railway reservation class/object diagram

4096


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

779


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

494


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

856


how to create duplicate link list using C???

1297






What is the difference between test design and test case design?

841


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

804


How to write a code for reverse of string without using string functions?

860


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.

871


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.

769


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.

1028


which type of aspect you want from the student.

929


#include { printf("Hello"); } how compile time affects when we add additional header file .

707


plz let me know how to become a telecom protocol tester. thank you.

1025


I need testPalindrome and removeSpace #include #define SIZE 256 /* function prototype */ /* test if the chars in the range of [left, right] of array is a palindrome */ int testPalindrome( char array[], int left, int right ); /* remove the space in the src array and copy it over to the "copy" array */ /* set the number of chars in the "copy" array to the location that cnt points t */ void removeSpace(char src[], char copy[], int *cnt); int main( void ) { char c; /* temporarily holds keyboard input */ char string[ SIZE ]; /* original string */ char copy[ SIZE ]; /* copy of string without spaces */ int count = 0; /* length of string */ int copyCount; /* length of copy */ printf( "Enter a sentence:\n" ); /* get sentence to test from user */ while ( ( c = getchar() ) != '\n' && count < SIZE ) { string[ count++ ] = c; } /* end while */ string[ count ] = '\0'; /* terminate string */ /* make a copy of string without spaces */ removeSpace(string, copy, ©Count); /* print whether or not the sentence is a palindrome */ if ( testPalindrome( copy, 0, copyCount - 1 ) ) { printf( "\"%s\" is a palindrome\n", string ); } /* end if */ else { printf( "\"%s\" is not a palindrome\n", string ); } /* end else */ return 0; /* indicate successful termination */ } /* end main */ void removeSpace(char src[], char copy[], int *cnt) { } int testPalindrome( char array[], int left, int right ) { }

1189