How many bytes is a struct in c?
No Answer is Posted For this Question
Be the First to Post Answer
write a c program to print "Welcome" without using semicolon in the whole program ??
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
Why we use int main and void main?
What is ## preprocessor operator in c?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................
14 Answers HOV Services, IBM, Potty,
what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
Can you subtract pointers from each other? Why would you?
Can you tell me how to check whether a linked list is circular?
give an example of type casting by a simple c program