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..???
Answers were Sorted based on User's Feedback
Answer / abdur rab
C as a language is portable across any platforms, as it
needs a compiler to compile in different platforms.
The drawback of compiled 'C' code is "Architecture
Dependent" and hence the code compiled in 32 bit
architecture cannot be used for 64 bit.
Is This Answer Correct ? | 31 Yes | 2 No |
Answer / suresh
ya,c is a portable language coz it needs compiler to
compile the program at different platforms.
Is This Answer Correct ? | 14 Yes | 4 No |
what do u mean by Direct access files? then can u explain about Direct Access Files?
What do you mean by scope of a variable in c?
what is an ERP?
Are global variables static in c?
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output?
write a c program to add two integer numbers without using arithmetic operator +
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);
In which header file is the null macro defined?
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What is the total generic pointer type?