0 votes 0 votes #include <stdio.h> int main() { int a=2; int b=4; double c; printf("%d",sizeof(c=a+b)); } In the above program, sizeof () operator will not evaluate the expression passed. But how it will return the size of double SreenivasaRaju asked May 16, 2018 SreenivasaRaju 407 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply srestha commented May 17, 2018 reply Follow Share u declared c as double right? why not it will return as double? 0 votes 0 votes Arunav Khare commented May 17, 2018 reply Follow Share Why do you think sizeof can't return size of double ? 0 votes 0 votes SreenivasaRaju commented May 17, 2018 reply Follow Share My doubt is , will size of look for variable which is having highest datatype in an expression? ( because it won't evaluate the expression and the value will not be returned in form of c (which is double)) can ou please clarify this 0 votes 0 votes srestha commented May 17, 2018 reply Follow Share still not getting why c will not return it's date type value is not evaluated directly, that is correct, but it will not affect the data type 0 votes 0 votes Please log in or register to add a comment.