What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?
Answer / sathish kumar
Hi All,
In the above function call fopen we should have used "C:\\"
instead of using "C:\". Because '\' is treated as a escape
sequence.
Thanks & Regards
Sathish Kumar
Is This Answer Correct ? | 31 Yes | 0 No |
What is the usage of the pointer in c?
What would be an example of a structure analogous to structure c?
What does != Mean in c?
what is difference between #include<stdio.h> and #include"stdio.h"
Describe the steps to insert data into a singly linked list.
Compare and contrast compilers from interpreters.
write a program to find out prime number using sieve case?
Differentiate between a for loop and a while loop? What are it uses?
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0
What do you mean by team??
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); }
11 Answers CISOC, CitiGroup, College School Exams Tests,
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL