what is difference between array of characters and string
Answer Posted / ashish pandey
String is a group of character and it is used double
quatation(""), but array of stringis used single
quatation('').
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
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.
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is a pointer variable in c language?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Are pointers integer?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Differentiate abs() function from fabs() function.
How can you determine the size of an allocated portion of memory?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Why c is called top down?
Explain how do you override a defined macro?
What is meant by recursion?
What is scope rule in c?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
How is pointer initialized in c?