What language is c written?
No Answer is Posted For this Question
Be the First to Post Answer
Is main() function predfined or userdefined?
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.
Which built-in library function can be used to match a patter from the string?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Explain what is a pragma?
What is extern storage class in c?
What is a macro, and explain how do you use it?
what information does the header files contain?
6 Answers BSNL, Cisco, GDA Technologies,
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is pass by reference in c?
what is mallloc()?how it works?