1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
12 76325Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
3 9052Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
2 5428in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
4 8517#include
we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?
4 8558
Explain is it valid to address one element beyond the end of an array?
What is structure in c language?
What does c mean in standard form?
Write a progarm to find the length of string using switch case?
What are volatile variables in c?
Explain how can you restore a redirected standard stream?
What is the data segment that is followed by c?
What is malloc calloc and realloc in c?
What kind of structure is a house?
what is a constant pointer in C
How many levels deep can include files be nested?
What is the general form of #line preprocessor?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
Discuss the function of conditional operator, size of operator and comma operator with examples.
Why doesnt long int work?