What is the output for the following program
#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%d\n",flag);
}
Answer Posted / jyothi
it gives syntax error
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Write a program to print numbers from 1 to 100 without using loop in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What is keyword in c?
How can I get back to the interactive keyboard if stdin is redirected?
What is pointer in c?
What is the difference between array_name and &array_name?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What does %p mean c?
List the variables are used for writing doubly linked list program.
Tell me what are bitwise shift operators?
What is the difference between exit() and _exit() function?
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:
What does dm mean sexually?
how do you programme Carrier Sense Multiple Access
why return type of main is not necessary in linux