exit () is used to
a) exit () terminates the execution of the program itself
b) exit () terminates the execution of the loop
c) exit () terminates the execution of the block
d) none of the above
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel
write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?
the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789
What is #include in c?
If I want to initialize the array like. int a[5] = {0}; then it gives me all element 0. but if i give int a[5] = {5}; then 5 0 0 0 0 is ans. what will I do for all element 5 5 5 5 5 in a single statement???
What is the c language function prototype?
C language questions for civil engineering
20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
What is restrict keyword in c?
How can I return multiple values from a function?