Can a file other than a .h file be included with #include?
No Answer is Posted For this Question
Be the First to Post Answer
Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }
What is the difference between a function and a method in c?
Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.
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.
what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"
who developed c and why he developed c?
What is the difference between mpi and openmp?
How is a two dimensional array passed to function when the order of matrix is not known at complie time?
What is c standard library?
There seem to be a few missing operators ..
Write a code to reverse string seperated by spaces i/p str=India is my country o/p str=aidnI si ym yrtnuoc After writing code, optimize the code
What is an array? What the different types of arrays in c?