struct abc{ char ch; }; printf(“%d”,sizeof(abc));//prints 1 byte but struct abc { int i; struct a{ char ch; }; }abc; printf(“%d”,sizeof(abc));//prints only 4 bytes but if we define the variable for struct a then it prints the size along with … Continue reading
what is diffference between delay ,sleep & wait…which one to use when?please clarify.
I could scuccesfully implement read & write for a single item
I have implemented open & release in my character driver.
We have implemented multiple client server through message queues.
Group Name:A Entitled Project:PIPE SERVER USING PIPES on stand-alone system Mentor:Varun Sir Captain:Pushpa Team members:Satish,Dharmendra,Paras,Pushpa Project progress details: We have implemented the basic communication between single client & server through pipe today.
Pgm to find the no of occurance of a word in a sentence. int main() { char str1[80],str2[20],str3[20]; int i=0,j,count=0; printf(“Enter the sentence:\n”);gets(str1); printf(“Enter the word for which no of occurance needs to be checked:\n”);gets(str2); while(str1[i]!=”) { for(j=0;str1[i]!=’ ‘;j++,i++) str3[j]=str1[i]; … Continue reading