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 |
main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain
Write a code of a general series where the next element is the sum of last k terms.
With the help of using classes, write a program to add two numbers.
#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain ؟؟؟
write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search
3. When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these
write a c program to find biggest of 3 number without relational operator?
How we can write a value to an address using macro..?
how to build a exercise findig min number of e heap with list imlemented?
Difference between Class and Struct.
13 Answers Ericsson, Motorola, Wipro,
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
What is Lazy evaluation in C? Give an example.