I have a function which accepts a pointer to an int. How
can I pass a constant like 5 to it?
Answer Posted / guest
You will have to declare a temporary variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between the expression “++a” and “a++”?
List some of the static data structures in C?
What is a sequential access file?
What is the difference between strcpy() and memcpy() function in c programming?
What is sizeof array in c?
What is a protocol in c?
Why do we need a structure?
What is the difference between struct and typedef struct in c?
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 extern variables in c?
What is the purpose of & in scanf?
Are there any problems with performing mathematical operations on different variable types?
What is clrscr in c?
What are void pointers in c?
What are the 5 types of organizational structures?