whether itis a structured language?
C is a structured language .....
proof:
there are certain rules to be followed for writing C programs
that is: 1) we must declare the variables used in the program after the main function itself. 2) after the variable declaration only we must enter the clrscr() option if we want.. 3) C follows only TOP to BOTTOM approach 4) all possible codes are been put as a subroutines or functions for every time usage
this proves C is a Structured language...
thank u
| Is This Answer Correct ? | 7 Yes | 0 No |
How can I manipulate strings of multibyte characters?
write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20
What is pointer to pointer in c?
Explain what’s a signal? Explain what do I use signals for?
can we declare a function inside the structure? ex: struct book { int pages; float price; int library(int,float); }b; is the above declaration correct? as it has function declaration?
Can a program have multiple main() functions?
if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
What is printf () in c?