C Interview Questions
Questions Answers Views Company eMail

every function has return the value?

1 1564

what is the code to display color fonts in the output?

1 1673

Bit swapping

2 2217




what will be the output for the following main() { printf("hi" "hello"); }

RoboSoft,

5 5059

EXPLAIN #INCLUDE EXPLAIN #INCLUDE

4 25741

write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

Subex,

1373

consagous technology placement paper

Consagous, Sypra,

3 3735

program to print circle structure

1 8190




what is the basis for selection of arrays or pointers as data structure in a program

TCS,

2949

an algorithem for the implementation of circular doubly linked list

1 9998

how to add our own function in c library please give details.?

TCS,

1 2222

what is the use of c program?

Synergy, Web Synergies,

4 4395

WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

Infosys, Google,

1181

can we write a c program with out using main

3 2837

the data type used for unlimited value in c and how to do this program

1 673


Post New C Questions






Un-Answered Questions { C }

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

928


main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*

461


why return type of main is not necessary in linux

888


Difference between Shallow copy and Deep copy?

779


At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with these names could be kept in that shelf as in this example: bottom of shelf ---> [AAAJKRDFDEWAAYFYYKK]-----Top of shelf. All these packets are to be loaded on cars. The cars are lined in order, so that the packet could be loaded on them. The cars are also named [A, B, C, D, E,………….]. Each Car will load the packet with the same alphabet. So, for example, car ‘A’ will load all the packets with name ‘A’. Each particular car will come at the loading point only once. The cars will come at the loading point in alphabetical order. So, car ‘B’ will come and take all the packets with name ‘B’ from the shelf, then car ‘C’ will come. No matter how deep in the shelf any packet ‘B’ is, all of the ‘B’ packets will be displaced before the ‘C’ car arrives. For that purpose, some additional shelves are provided. The packets which are after the packet B, are kept in those shelves. Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name X is in it, then only the packets having names X will be kept in it. That shelf will look like [XXXXXXX]. If any shelf is used once, then it could be used again only if it is vacant. Packets from the initial shelf could be unloaded from top only. Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.

887






I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1079


code for replace tabs with equivalent number of blanks

739


Calculate 1*2*3*____*n using recursive function??

710


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.

583


a program that can input number of records and can view it again the record

667


All technical questions

690


write a program to print data of 5 five students with structures?

805


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

704


difference between native and cross compilers

814


how to write a c program to print list of fruits in alpabetical order?

663