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

Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

TCS,

4 11074

can we declare a function inside the structure? ex: struct book { int pages; float price; int library(int,float); }b; is the above declaration correct? as it has function declaration?

2 6199

inline function is there in c language?

4 7744

what is an inline function?

TCS,

2 4636

where do we use structure pointer?

1 3630

where do we use volatile keyword?

1 4213

what is constant pointer?

3 5707

what is the use of bitfields & where do we use them?

2 4642

code for bubble sort?

1 3566

code for selection sort?

1 4059

code for quick sort?

2037

code for concatination of 2 strings with out using library functions?

3 6113

how 2 compile & execute c program with out using editor?

HP,

2 9901

You have an int array with n elements and a structure with three int members. ie struct No { unsigned int no1; unsigned int no2; unsigned int no3; }; Point1.Lets say 1 byte in the array element is represented like this - 1st 3 bits from LSB is one number, next 2 bits are 2nd no and last 3 bits are 3rd no. Now write a function, struct No* ExtractNos(unsigned int *, int count) which extracts each byte from array and converts LSByte in the order mentioned in point1.and save it the structure no1, no2, no3. in the function struct No* ExtractNos(unsigned int *, int count), first parameter points to the base address of array and second parameter says the no of elements in the array. For example: if your array LSB is Hex F7 then result no1 = 7, no2 = 2, no3 = 7. In the same way convert all the elements from the array and save the result in array of structure.

Qualcomm,

2 5588

wat s the meaning of (int *)p +4;

2 7287


Post New C Questions

Un-Answered Questions { C }

What is difference between structure and union in c programming?

1111


Explain how can you check to see whether a symbol is defined?

1203


Explain spaghetti programming?

1258


Can variables be declared anywhere in c?

1095


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

1052


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

2082


When should the const modifier be used?

1117


How many types of arrays are there in c?

1049


What is the meaning of c in c language?

1171


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

6317


How can I trap or ignore keyboard interrupts like control-c?

1069


Which is better oop or procedural?

1071


What are the functions to open and close the file in c language?

1041


What is static identifier?

1224


What is zero based addressing?

1174