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 |
Can we replace the struct function in tree syntax with a union?
Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321
let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................
write a 'c' program to sum the number of integer values
How can you check to see whether a symbol is defined?
What type of function is main ()?
where can function pointers be used?
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?
convert 12345 to 54321 withoutusing strig
which one low Priority in c? a)=,b)++,c)==,d)+