C Interview Questions
Questions Answers Views Company eMail

what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }

Motorola,

1 2748

how to determine the complexity of an algorithm as log(n)

Google,

1 1919

how to do in place reversal of a linked list(singly or doubly)?

3 4949




wats the diference btwen constant pointer and pointer to a constant.pls give examples.

9 15954

Explain in detail how strset (string handling function works )pls explain it with an example.

1 9046

dibakar & vekatesh..uttejana here..abt ur reply for in place reversal of linked list..wats p stands for there?

1 2036

How to calculate Total working time using Login and logout?

CTS, Infosys, TCS, Wipro, Signal Networks, Cygnus,

2 8303

how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help

5 5821




wats SIZE_T meant for?

1 2389

how to calculate the time complexity of a given algorithm? pls give exaples..mainly for the coplexities such as O(log n),O(n log n)...

Infosys,

1 6720

can anyone suggest some site name..where i can get some good data structure puzzles???

875

Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??

4 7476

WHY DO WE USE A TERMINATOR IN C LANGUAGE?

2 8182

how to find out the inorder successor of a node in a tree??

Yahoo, TCS,

2 10789

what is the different bitween abap and abap-hr?

TCS,

935


Post New C Questions






Un-Answered Questions { C }

What is ambagious result in C? explain with an example.

1020


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

734


Explain output of printf("Hello World"-'A'+'B'); ?

160


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

957


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

783






Why we not create function inside function.

900


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

1215


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

504


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2065


all c language question

962


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

120


string reverse using recursion

1043


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

1515


in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000

9292


what will be maximum number of comparisons when number of elements are given?

635