Is c an object oriented programming language?
Answer / kamil
No, C is not an object oriented programming language
It's a structural programming language
| Is This Answer Correct ? | 0 Yes | 0 No |
what will happen if you free a pointer twice after allocating memory dynamically ?
Why do we write return 0 in c?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Why is python slower than c?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
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.
plz answer.. a program that takes a string e.g. "345" and returns integer 345
What is difference between scanf and gets?
What does sizeof function do?
Explain in detail how strset (string handling function works )pls explain it with an example.
Why clrscr is used in c?
what is an array