Posts

Showing posts from March 21, 2019

Government of Puerto Rico

Image
Puerto Rico This article is part of a series on the politics and government of Puerto Rico Constitution and law United States Constitution Puerto Rico Constitution Puerto Rico law Executive Governor: Ricky Rosselló (NPP, D) Acting Governor Cabinet Chief of Staff Executive departments Fiscal agent and financing Government-owned corporations Lieutenant Governor Line of succession Office of the Governor Secretaries Transition process First Lady Legislative Legislature: 17th Legislative Assembly of Puerto Rico Senate: 26th Senate of Puerto Rico President of the Senate: Thomas Rivera Schatz President pro tempore: Larry Seilhamer Rodríguez Majority Leader: Carmelo Ríos Santiago Majority Whip: Ángel Chayanne Martínez Minority Leader: Eduardo Bhatia; Juan Dalmau; Vargas Vidot Minority Whip: José Luis Dalmau House of Representatives: 30th House of Representatives of Puerto Rico Speaker: Johnny Méndez Sp

What happens when a variable is assigned to zero in an `if` condition?

Image
3 2 It would be helpful if anybody can explain this. int main() { int a=0; if(a=0) printf("a is zerot"); else printf("a is not zerot"); printf("Value of a is %dn",a); return 0; } output of this is a is not zero Value of a is 0 c share | improve this question edited Nov 15 '18 at 20:35 ealfonso 3,047 2 22 40 asked Jul 9 '13 at 5:35 Ani Ani 52 2 3 13