C Interview Questions
Questions Answers Views Company eMail

logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............


2 5284

What is a Genralised LInked List?? Please give a detailed explation of it..

1 1713

what is ur strangth & weekness

NetEnrich, Cognizant, LG Soft,


Explain following declaration int *P(void); and int (*p)(char *a);

3 13158

What is external and internal variables What is dynamic memory allocation what is storage classes in C

3 10949

can anyone please tell me wat is backlogs... i was looking for the job openings where i read this.. eligibility criteria minimum 70% in degree without backlogs. is that arrear.. if so is it standing arrear or history of arrears... please help me...

TCS, CTS, Indian Navy, SSB, Microsoft, L&T, TCE,

11 47210

what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....


1 2668

how to find sum of digits in C?

Infosys, CTS,

21 22059



16 11950

how memory store byte


4 4758

biggest of two no's with out using if condition statement

8 6899

difference of two no's with out using - operator

7 4609

what is the stackpointer

2 2684

how to find the binary of a number?


10 7831

Can a binary search tree be used as an index? If yes, how? Explain



Post New C Questions

Un-Answered Questions { C }

write a program to find the given number is prime or not


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.


can we change the default calling convention in c if yes than how.........?


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321


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.


Explain the process of converting a Tree into a Binary Tree.


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....


Why is event driven programming or procedural programming, better within specific scenario?


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff


How to delete a node from linked list w/o using collectons?


pierrot's divisor program using c or c++ code


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.