what is difference between array of characters and string

Answer Posted / aqi khyber

a character is a single letter,numeral,or punctuation mark,
or other such symbol or special character while a string is
any sequence of all these different types of characters..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a program be made to print the line number where an error occurs?

655


explain what are pointers?

621


What is wild pointer in c?

613


how to build a exercise findig min number of e heap with list imlemented?

1614


what is the difference between 123 and 0123 in c?

728






What are identifiers and keywords in c?

575


How can I make sure that my program is the only one accessing a file?

684


When can you use a pointer with a function?

573


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1637


write a program to rearrange the array such way that all even elements should come first and next come odd

1766


Why doesnt the call scanf work?

679


shorting algorithmS

1805


Explain how can I avoid the abort, retry, fail messages?

595


When should we use pointers in a c program?

636


Write a program which returns the first non repetitive character in the string?

606