if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True"

a) Never

b) Always

c) When the value of i is 0

d) all of the above


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a program to find the frequency of a number

4 Answers   Infosys,


How does sizeof know array size?

0 Answers  


using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

0 Answers  


3.write a simple program that will output your name,phone number,e-mail address,and academic major on separate lines 1.create an account and a personal directory for your work b.find out how to create a subdirectory on your system.create one called info c.you will use a text editor to type in your programs and data files.some C systems have a built in text editor;others do not.Find out what text editor you will be using and how to access it.create a text file(not a program) containing your name ,address,and telephone number on separate lines.Next,write the brand of computer you are using and the name of the text editor.Then write a paragraph that describes your past experience with computers.save this file in your info directory. d. find out how to print a file on your system .print out and turn in the file you created in (c).

0 Answers   TCS,


What is wild pointer in c with example?

0 Answers  






Explain about C function prototype?

0 Answers  


main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }

4 Answers   Vector, Wipro, Zoho,


i want to job in your company, so how it will be possible.

3 Answers   TCS,


write a program to find the given number is prime or not

2 Answers   Accenture, Vasutech,


What is variable and explain rules to declare variable in c?

0 Answers  


Are the expressions * ptr ++ and ++ * ptr same?

0 Answers  


What is the purpose of & in scanf?

0 Answers  


Categories