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 72067Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
3 7689Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
2 4498in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
4 6865#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 7166
Difference between macros and inline functions? Can a function be forced as inline?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What are the advantages and disadvantages of pointers?
How can you determine the size of an allocated portion of memory?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What are control structures? What are the different types?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What is the role of this pointer?
explain how do you use macro?
Why enum is used in c?
What is c language and why we use it?
how to capitalise first letter of each word in a given string?
What does d mean?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Can a variable be both static and volatile in c?