Find the output of the code:-
#include iostream
using namespace std;
typedef struct book{
int piece;
double price;
}sb;

int main()
{
sb book;
book.piece = 5;
book.price = 45;
cout book.price " " book.pieceendl;
return 0;
}

Posted on by