out put of printf(“%d”,printf(ram));

Answer Posted / ashutosh shashi

ram3
printf will print ram and printf function returns the
number of character it prints, so it will return 3, and
hence it will print ram3

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program to convert a integer to string in c language'

1980


Explain the term printf() and scanf() used in c language?

588


What is the use of bitwise operator?

683


Is a pointer a kind of array?

597


What are the application of c?

638






program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2570


What are directives in c?

539


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.

1509


What are near, far and huge pointers?

642


What are valid signatures for the Main function?

697


Which one would you prefer - a macro or a function?

598


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

620


Write a C program in Fibonacci series.

627


how to execute a program using if else condition and the output should enter number and the number is odd only...

1651


Explain what are bus errors, memory faults, and core dumps?

784