Is c still relevant?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
Explain command-line arguments in C.
What is the benefit of using #define to declare a constant?
How reliable are floating-point comparisons?
what are two kinds of java
In scanf h is used for
what is difference between strcmp & palindrome?
What is a constant?
How are 16- and 32-bit numbers stored?
What is multidimensional arrays
What is array in c with example?