Question
what is the output of the program?
#include
main()
{
struct s1 {int i; };
struct s2 {int i; };
struct s1 st1;
struct s2 st2;
st1.i =5;
st2 = st1;
printf(" %d " , st2.i);
}

Answers

nothing (error)
expl: diff struct variables should not assigned using "=" operator.   Your Comment






Search
Can you Answer!!
  • Q The Rajya Sabha can have a maximum strength of howmany members?
  • Q Tell me about a typical approach of a given project.
  • Q Inscription on a gravestone
  • Q What is shared pool?
  • Q explain trochlea
  • Q Is it better to synchronize critical section of getInstance() method or whole getInstance() method ?
  • Q The Stasi were the secret police of which country?
  • Q The Treaty of Amritsar was concluded between Maharaja Ranjit Singh and whom?
  • Q In which field do you want to improve yourself and what are you doing to improve it.
  • Q What are rings in Windows NT?
  • Q Late Ashok Khale was associated with which sports?