can we print any string in c language without using
semicolon(;)(terminator) in whole program.
Answer Posted / anshukumarsrivatsva.
a c program to prrint a string without using a semicolon,
#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("allahabad is a sangam city))
getch();
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is array in c with example?
Explain what is the difference between functions abs() and fabs()?
How many types of operators are there in c?
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.
What are 'near' and 'far' pointers?
What standard functions are available to manipulate strings?
Explain what does the function toupper() do?
How do you convert strings to numbers in C?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Explain what is operator promotion?
How do you write a program which produces its own source code as output?
How can a program be made to print the name of a source file where an error occurs?
What is #include stdio h?
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.
What is c basic?