Which function will convert a string into a double precision quantity?
Correct Answer: atof()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
By which file function you can position the file pointer in accordance with the current position?
Output as a result of the following code snippet? #define Name Manish main() { printf('My name''Name'); }
Which is/are the correct signature/s of main with command line arguments?
Which statements will result in a compilation error?
Which is/are the type/s of memory allocation that needs/need the programmer to take care of memory management?
Output of the given program? int main() { int i =1, j=1; for ( ; ; ) { if ( i > 5 ) break; else j += i--; Printf ( '%d\n', j ); i += j; j= j+7; } return 0; }
What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?
Output of the following code? void myFunction(int foo[2][3]) { foo[0][1] = 5; int i = 0, j = 0; for (i = 0; i < 2; i++) for (j = 0; j < 3; j++) printf('%d ', foo[i][j]); } int main() { int foo[2][3] = {0}; myFunction(foo); return 0; }
Which is used for dynamically allocating memory?
Assuming, integer is 2 byte,Output of the program? #includeint main() { printf('%x\n', -2<<2); return 0; }