can we print any string in c language without using
semicolon(;)(terminator) in whole program.
Answers were Sorted based on User's Feedback
Answer / 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 |
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
Describe dynamic data structure in c programming language?
write a own function for strstr
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.
What is the difference between the local variable and global variable in c?
Why void is used in c?
what is diognisis?
What are the advantage of c language?
What is c++ used for today?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
What is scanf_s in c?