In which mode we open the file for read,write and append
also in c ?
a)W
b)w+
c)r+
d)a

Answers were Sorted based on User's Feedback



In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a..

Answer / sanju_south

r+ which is read write and append also

Is This Answer Correct ?    49 Yes 11 No

In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a..

Answer / susil lenka

a+

Is This Answer Correct ?    11 Yes 0 No

Post New Answer

More C Interview Questions

What are variables c?

0 Answers  


What is a program flowchart and how does it help in writing a program?

0 Answers  


what is Array?

3 Answers  


write a program to find out number of on bits in a number?

17 Answers   Huawei, Microsoft,


main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }

2 Answers  






Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

1 Answers   Amazon, CSJM, HCL, Microsoft, TCS, Wipro,


a C prog to swap 2 no.s without using variables just an array?

5 Answers   TCS,


Tell me what is the purpose of 'register' keyword in c language?

0 Answers  


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

0 Answers   TCS,


What is Full Form of C and Why We use C

23 Answers  


In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?

1 Answers   Melstar,


What are terms in math?

0 Answers  


Categories